import unittest,time
from Page import Page
from Page2 import Page2
from Page3 import Page3
from selenium import webdriver
class TestCase(unittest.TestCase):
    def setUp(self)->None:
        self.driver=webdriver.Edge()
        self.driver.maximize_window()
    def tearDown(self)->None:
        time.sleep(3)
        self.driver.quit()
    def test_baidu_01(self):
        po1=Page(self.driver)
        po1.baidu()
        po2 = Page2(self.driver)
        po2.baidu2()
        po3=Page3(self.driver)
        po3.baidu3()
if __name__ == '__main__':
    unittest.main()